#ifndef WELCOMEWINDOW_H
#define WELCOMEWINDOW_H

#include <QWidget>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLabel>
#include <QComboBox>//难度选择

class WelcomeWindow : public QWidget
{
    Q_OBJECT
public:
    explicit WelcomeWindow(QWidget *parent = nullptr);

signals:
    void startClicked(QRect windowGeometry, int difficulty);  // 添加几何参数和难度;
     void showWelcome();

    void difficultyChanged(int newDifficulty);

private:
    QPushButton *startButton;
    QLabel *titleLabel;
    QComboBox *difficultyComboBox;//难度
};

#endif // WELCOMEWINDOW_H